package com.copd.service;

import com.copd.entity.User;

public interface UserService {
    void register(User user);
    boolean isUsernameExists(String username);
    boolean isContactInfoExists(String contactInfo);
    boolean verifyPassword(String rawPassword, String encodedPassword);
    User login(String username, String password);
    void updateUserInfo(User user);
}